.danmu {
  overflow: hidden;
  user-select: none;
  -ms-user-select: none;
  > * {
    position: absolute;
    white-space: nowrap;
  }
}

.danmu-switch{
  width: 32px;
  height: 20px;
  border-radius: 100px;
  background-color: #ccc;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  position: relative;
  text-align: center;
  margin: 10px auto;
  &.danmu-switch-active{
    padding-left: 12px;
    background-color: #f85959;
  }
  span.txt{
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    display: block;
    border-radius: 100px;
    background-color: #ffffff;
    box-shadow: -2px 0 0 0 rgba(0, 0, 0, 0.04);
    font-family: PingFangSC;
    font-size: 10px;
    font-weight: 500;
    color: #f44336;
  }
}
